Stress test-monkey LearningMonkey Test features
What is Monkey test? As its name, like a monkey, although nothing to understand, but can be a bit messy, can be understood as stress testing. Do any random action within the specified time or number of times, and the action includes clicking, sliding ...
Monkey
Android App Stress Test (i) Monkey tool introductionObjective This article mainly introduces monkey tools. Monkey testing is an automated test of the Android platform, through the monkey
package name you need to test, others can increase or decrease the monkey parameter.
②, example: adb shell monkey-p%packagename%-S%c_time%--throttle 10000--ignore-crashes-v-v-v
③, Monkey here do not do too much explanation, online has a lot of monkey test strategy Introduction. BAT in other related methods of oper
This article is the learning note, video address of "Android app stress test" of Mu-class network
http://www.imooc.com/video/13007
Monkey is a tool for sending pseudo-random user events.Monkeyscript Implementation of the automated test script, is a set of monkey can be recognized by the collection of comm
Android App Stress Test (iii) Monkey log automatic analysis scriptObjectivelast said to share monkey log Analysis script, this time paste out share, nonsense not to say, please look at the text. Directory1. Monkey Log Analysis Script2. Script principle3. Operation Example1.
(5109520,5109520,0,205,31,0,0,0,0,0,0,0); Capturedispatchpointer (5109521,5109521,1,205,31,0,0,0,0,0,0,0); Userwait (+) The above is a sample script. The specific steps are:
Copy the above script to Script.txt
place script.txt in the SD card root
adb shel L monkey–v–v–v–f/sdcard/script.txt–throttle > Monkey.txt Script executes every 1.5s of instruction sequence sent by script.txt An instruction that execute
Monkey test ==== monkey test is used to check app Memory leakage and cpu usage, and monkeyapp
Monkey testing has been being studied recently. There are a lot of online materials, but they are all copied one by one. Few Original
I will sort out the app Memory leakage check:
R
Reference: http://blog.csdn.net/io_field/article/details/52189972first, Monkey Test principle: Monkey is a command-line tool in Android that can be run in the emulator or in the actual device. It sends pseudo-random user event streams (such as key input, touch input, gesture input, etc.) to the system, enabling stress testing of the application under development.
Environment IntroductionL Install mobile Baidu app in simulatorL The machine is randomly tested by the monkey command.L All commands are entered in cmd command mode.Execution processSyntax: ADB shell MONKEY-P Package name Random event number, asPS: Everyone's environment is different, results may be slightly differentHow to view the package name in the mobile
system and written in Java. The storage path in the Android file system is/system/framework/monkey. jar;
2) The Monkey. jar program is started and executed by a Shell script named "monkey". The storage path of the shell script in the Android file system is/system/bin/
Monkey testing the use of 1--monkeyOriginal address:http://www.douban.com/note/257029872/(Transferred from watercress, copyright belongs to watercress and Douban friends, if offended please forgive and contact us)Use of MonkeyFirst, what is MonkeyMonkey is a command-line tool in Android that can be run in the emulator or in the actual device. It sends pseudo-random user event streams (such as key input, tou
stress testing, how long the time of the test will occur abnormalWhat Monkey to doMonkey is a stress test gadget used primarily for Android stress testing, the main purpose of which is to test whether the app will crash.Monkey Program Introduction(1) Monkey program by the Android
Shell, monkey, system, Android, file system monkey, example, Introduction
1. Introduction to monkey testing
Monkey testing is an automated test method on the Android platform. Using the monkey
Monkey is a command-line tool provided by the Android SDK that can be easily and conveniently run on any version of the Android emulator and physical device. Monkey will send a pseudo-random stream of user events for the app to do stress testing
Reading Table of Contents
Recently began to study the Android test Monkey tools, because the contact time is very short, there are many shortcomings, I hope to communicate with you more.What is MonkeyMonkey is a command-line tool in Android that can be run in the emulator or in the actual device. It sends a pseudo-random message to the systemUser event flow (such as key input, touch scree
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.